﻿using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using WPFExcelReport.Helpers;
namespace WPFExcelReport
{
    public partial class TERK
    {
       
        public TERK()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VSDDAT();
            this.DataContext = MV;
            SDSA = "0267";
            DEFTXT = new System.Collections.Generic.List<string>();
            DEFTXT.Add("000000000000000000000000000000000000000000000000000000000000000000000000");
            InitializeComponent();
        }
        public override void OnV1Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            dwMaster["V1"] = V1;
            base.OnV1Chg();
        }
        public override void OnV2Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            dwMaster["V2"] = V2;
            base.OnV2Chg();
        }
        public override void OnV3Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            dwMaster["V3"] = V3;
            base.OnV3Chg();
        }
        public override void OnV4Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            dwMaster["V4"] = V4;
            base.OnV4Chg();
        }
        public override void OnV5Chg()
        {
            if (!IsEdit)
                return;
            if (dwMaster == null)
                return;
            dwMaster["V5"] = V5;
            base.OnV5Chg();
        }
    }
}
